<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property string $order_no 订单编号
 * @property string $remittance_account 汇款账号
 * @property string $amount 汇款金额
 * @property string $contact 联系方式
 * @property int $status 状态：0=待审核 1=已到账 2=已拒绝
 * @property string $audit_date 审核日期
 * @property string $remark 备注
 * @property int $updated_by 更新者
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class ChTransferRecord extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_transfer_records';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'order_no', 'remittance_account', 'amount', 'contact', 'status', 'audit_date', 'remark', 'updated_by', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'amount' => 'decimal:2', 'status' => 'integer', 'updated_by' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
